package com.eva.admin.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eva.admin.biz.cms.template.vo.CmsTemplateVO;
import com.eva.admin.biz.cms.template.dto.QueryCmsTemplateDTO;
import com.eva.dao.cms.model.CmsTemplate;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface CmsTemplateMapper extends BaseMapper<CmsTemplate> {

    /**
     * 查询模板
     *
     * @param dto QueryCmsTemplateDTO
     * @return List<CmsTemplateVO>
     */
    List<CmsTemplateVO> search(QueryCmsTemplateDTO dto);

}
